package com.mine;

import com.google.common.base.Splitter;
import org.junit.Test;

/**
 * TODO
 *
 * @author wangtonggui
 * @version 1.0.0
 * @since 2021/07/29 18:44
 */
public class SplitterDemos {
  @Test
  public void splitToList() {
    String s1 = "hello|hihi";
    Splitter.on("|").splitToList(s1).forEach(System.out::println);
  }
}
